//
//  MYGAcademicDetailHeaderItemCell.swift
//  MYDoctor
//
//  Created by Denny on 2024/5/24.
//

import UIKit

class MYGAcademicDetailHeaderItemCell: UICollectionViewCell {

    @IBOutlet weak var titleLB: UILabel!
    @IBOutlet weak var icon: UIImageView!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    var model : MYGMYGAcademicIconModel = MYGMYGAcademicIconModel() {
        didSet{
            titleLB.text = model.title
            icon.image = UIImage.init(named: model.imageName)
        }
    }

}
